@echo off

echo Integrating ClearUnit to TestDriven.Net...

setlocal
set clearUnitRegPath=HKLM\SOFTWARE\MutantDesign\TestDriven.NET\TestRunners\ClearUnit
set integrationAssemblyPath="%~dp0%_latest\ClearUnit.Integration.TD.Net.dll"

reg add %clearUnitRegPath% /f /v AssemblyPath /d %integrationAssemblyPath%
reg add %clearUnitRegPath% /f /v TargetFrameworkAssemblyName /d ClearUnit
reg add %clearUnitRegPath% /f /v TypeName /d ClearUnit.Integration.TD.Net.TdNetRunner
reg add %clearUnitRegPath% /f /ve /d 4

pause